[_ISTool]
EnableISX=true

[Types]
Name: "Full"; Description: Full
Name: "Custom"; Description: Custom; Flags: iscustom

[Components]
Name: "System";                  Description: "System components";                        Types: "Full Custom"; Flags: fixed
Name: "OSK";                     Description: "OnScreen keyboard";                        Types: Full Custom
Name: "Design";                  Description: "Keyboard files designer";                  Types: Full Custom
Name: "Design\Sample";           Description: "Sample keyboard files";                    Types: Full Custom

[Tasks]
Name: "r_osk"; Description: "OnScreen keyboard";           Components: "OSK";    Flags: "unchecked"; GroupDescription: "Run after setup"
Name: "r_des"; Description: "Keyboard files designer";     Components: "Design"; Flags: "unchecked"; GroupDescription: "Run after setup"

[Dirs]

[Files]
Source: "D:\!Setted\Disk_E\windows\fonts\con10x18.ttf"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: System
Source: "D:\cb5\Bin\borlndmm.dll"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: System
Source: "D:\cb5\Bin\cc3250mt.dll"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: System
Source: "D:\cb5\Bin\vcl50.bpl"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: System
Source: "D:\cb5\Bin\vclx50.bpl"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: System
Source: "D:\cb5\Projects\Bpl\hcomps.bpl"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: System
Source: "D:\cb5\Projects\Bpl\pasutils.bpl"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: System
Source: "D:\cb5\Projects\Bpl\pasComps.bpl"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: System
Source: "D:\cb5\Projects\Bpl\pdesign.bpl"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: System
Source: "D:\cb5\Projects\Bpl\std_sP.bpl"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: System
Source: "D:\cb5\Projects\Bpl\win_sP.bpl"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: System
Source: "D:\cb5\Projects\Bpl\p_tb97.bpl"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: System
Source: "OSK-News.txt"; DestDir: "{app}\README"; Flags: "comparetimestamp"; Components: System

Source: "pOsk.exe";           DestDir: "{app}"; Flags: "comparetimestamp"; Components: "OSK"
Source: "osklib.dll";         DestDir: "{app}"; Flags: "comparetimestamp"; Components: "OSK"
Source: "startup.osk";        DestDir: "{app}"; Flags: "comparetimestamp"; Components: "OSK"
Source: "BigKeyb.osk";        DestDir: "{app}"; Flags: "comparetimestamp"; Components: "OSK"
Source: "SmallKeyb.osk";      DestDir: "{app}"; Flags: "comparetimestamp"; Components: "OSK"
Source: "FxKeyb.osk";         DestDir: "{app}"; Flags: "comparetimestamp"; Components: "OSK"
Source: "NavKeyb.osk";        DestDir: "{app}"; Flags: "comparetimestamp"; Components: "OSK"
Source: "OziKeyb.osk";        DestDir: "{app}"; Flags: "comparetimestamp"; Components: "OSK"

Source: "oskDesign.exe";      DestDir: "{app}"; Flags: "comparetimestamp"; Components: "Design"
Source: "D:\cb5\Projects\Bpl\dinspector.bpl"; DestDir: "{app}"; Flags: "comparetimestamp"; Components: "Design"

Source: "TestKeyboard.osk";   DestDir: "{app}"; Flags: "comparetimestamp"; Components: "Design\Sample"

[Setup]
AppVersion="28.Mar.2010"
AppVerName="pOSK 28.Mar.2010"

;Compression=none
OutputDir=.
AllowRootDirectory=true
AllowNoIcons=true
AlwaysShowDirOnReadyPage=true
AlwaysShowComponentsList=false
AlwaysShowGroupOnReadyPage=false
OutputBaseFilename=pOSK-setup-
SolidCompression=yes
VersionInfoCompany="Mag`n`Gla"
VersionInfoCopyright="Popa, Ekaterinburg, http://car.etc.ru"
VersionInfoDescription="pOSK"
AppID=OSK_1
AppMutex=
AppName=RTS
AppPublisher="Popa, Mag`n`Gla"
AppPublisherURL="http://car.etc.ru"
AppReadmeFile="OSK-News.txt"
;AppSupportURL=""
;AppUpdatesURL=""
ChangesAssociations=yes
ChangesEnvironment=yes
DefaultDirName={sd}\pOSK\
DefaultGroupName=pOSK
DisableFinishedPage=true
DisableReadyPage=true
InfoBeforeFile=OSK-News.txt
MinVersion=0,5.0.2195
Uninstallable=yes
UninstallDisplayName=
UninstallDisplayIcon={app}\pOSK.exe
SetupIconFile=OSK_b.ico
ShowTasksTreeLines=yes

[LangOptions]
LanguageName=English
LanguageID=$0409

[Languages]
;Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl"

[Icons]
Name: "{group}\OnScreen keyboard";                                       Filename: "{app}\pOSK.exe"; WorkingDir: "{app}"; Flags: "createonlyiffileexists closeonexit"; Components: "OSK"
Name: "{group}\Keyboard file designer";                                  Filename: "{app}\oskDesign.exe"; WorkingDir: "{app}"; Flags: "createonlyiffileexists closeonexit"; Components: "Design"
Name: "{group}\Uninstall pOSK";                                          Filename: "{uninstallexe}"; WorkingDir: "{app}"; Flags: "useapppaths"; Components: System

[UninstallDelete]
Name: "{app}\*.log"; Type: "files"; Components: System

[Run]
Filename: "{app}\pOSK.exe";        WorkingDir: "{app}"; Flags: "nowait skipifdoesntexist unchecked skipifsilent";              Components: "OSK";    Tasks: r_osk
Filename: "{app}\oskDesign.exe";   WorkingDir: "{app}"; Flags: "nowait skipifdoesntexist skipifsilent runmaximized unchecked"; Components: "Design"; Tasks: r_des
